import React, { Component } from 'react'

class Navbar extends Component {
    render(h) {
     return (
        <div>navbar</div>
     )   
    }
}

function Swiper() {
    let s = {
        background:'red'
    }
    return (
        <div style={s}>
            Swiper<br/>
            {10+20}<br/>
            {10>20?'111':'222'}
        </div>
     ) 
}

const Tabber = () => <div>Tabber</div>

export default class App extends Component {
    render() {
        return (
            <div>
                <Navbar></Navbar>
                <Swiper></Swiper>
                <Tabber></Tabber>
            </div>
        )
    }
}
